package com.github.xuemingyu.springboot.acticitycloud.dao;

import com.github.xuemingyu.springboot.acticitycloud.entity.ActivityTemplate;
import com.github.xuemingyu.springboot.jkfaststart.repository.BaseJPA;

import java.util.List;

public interface ActivityTemplateDao extends BaseJPA<ActivityTemplate> {
    ActivityTemplate findFirstByModelIdAndDeleteTag(Long modelId, boolean deleteTag);

    List<ActivityTemplate> findActivityTemplatesByModelIdIsIn(List<Long> ids);
}
